<?php
   
/**
 * Mapper for tnotifyuser
 * 
 * @author Martin Grossmann <snake.aas@gmail.com>
 * @version 1.0
 * @package Mappers
 *
 * @property int $idUser 
 * @property int $idAlbum 
 */     
class tnotifyuser {
  /**
   * 
   * 
   * @access private
   * @var int
   */
   private $_idUser;
     
  /**
   * 
   * 
   * @access private
   * @var int
   */
   private $_idAlbum;
     

  public function __get($name) {
    switch($name) {
      case "idUser": 
        return $this->_idUser;
        break;
      case "idAlbum": 
        return $this->_idAlbum;
        break;
    }
  }
  
  public function __set($name, $value) {
    global $regexp;
    
    switch($name) {
      case "idUser": 
        $this->_idUser = Validations::validateInteger($value, null, null, false);
        break; 

      case "idAlbum": 
        $this->_idAlbum = Validations::validateInteger($value, null, null, false);
        break; 

    }
  }  
  
}